package org.ainlolcat.ainscience.entity.links;

import org.ainlolcat.Variable;
import org.ainlolcat.ainscience.entity.Entity;

/**
 * @author ainlolcat
 * Date: 11/10/11
 */
public interface Link {
    public Integer getId();
    //public void setId(Integer id);

    public void setEntity(Entity entity);
    public Entity getEntity();

    public Integer getColumnID();
    public void setColumnID(Integer columnID);

    public String getL2Entity();
    public void setL2Entity(String entity);

    public Integer getL2column();
    public void setL2column(Integer l2column);

    public String getType();
    public void setType(String type);

    public String getName();



    public Variable getValue(Integer columnId, Integer rowNum);

    //if link resolved both Entity currently available
    public boolean isResolved();
}
